/* CSS Variables for design color palette */
:root {
    --primary-navy: #192d48;
    --accent-orange: #f26522;
    --background-light: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
    --white: #fff;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* --- Header / Hero Section --- */
.hero-section {
    background-color: #f0f4f7; /* Light blue base */
    padding: 6rem 0;
    /* margin-bottom: 2rem; */
    position: relative;
    overflow: hidden;
    background-image : url("../img/home-banner.jpg");
    background-size: cover;
    top: 11.2rem;
}

/* Detailed background image of a PCB */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* background-image: url('../img/home-banner.jpg'); */
    /* background-size: cover; */
    background-position: center;
    /* opacity: 0.15; Subtly integrated */
    z-index: 0;
    background: linear-gradient(142deg,
                rgb(56 94 157 / 71%) 0%,
                rgb(56 94 157 / 39%) 52%,
                rgb(55 94 156 / 39%) 51%,
                rgb(253 253 253 / 0%) 100%)
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-weight: 700;
    color: var(--white);
    font-size: 3rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    /* opacity: 0.8; */
    max-width: 600px;
    font-weight: 900;
}

/* Reusable button styles */
.btn-orange {
    background-color: var(--accent-orange) !important;
    color: white !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    padding: 0.75rem 2rem !important;
    border: 2px solid var(--accent-orange) !important;
    transition: all 0.3s ease !important;
}

.btn-orange:hover {
    background-color: white !important;
    color: var(--accent-orange) !important;
}

.btn-light-outline {
    background-color: #ffffff !important;
    color: var(--primary-navy) !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    padding: 0.75rem 2rem !important;
    border: 2px solid rgba(25, 45, 72, 0.4) !important;
    transition: all 0.3s ease !important;
}

.btn-light-outline:hover {
    background-color: rgba(25, 45, 72, 0.05) !important;
    color: #f8f9fc !important;
    border: 2px solid rgb(253 254 255) !important;
}

/* --- Global Sections Styling --- */
.section-padding {
    padding: 2rem 0;
    background-color: #ecedf0;
    margin-top: 10.2rem;
}

section.formix-section-padding {
    padding: 2rem 0;
    background-color: #ecedf0;
    margin-top: 2.2rem;
}

section.quotes-section-padding {
    padding: 2rem 0;
    background-color: #ecedf0;
    margin-top: 0rem;
}

.section-title {
    color: var(--primary-navy);
    font-weight: 700;
    position: relative;
    margin-bottom: 2.5rem;
    font-size: 1.8rem174

}

.section-title span {
    color: var(--text-dark);
}

/* --- Product Categories Section --- */
.product-card {
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-type {
    font-weight: 700;
    color: var(--text-dark);
    font-size: medium;
    margin-bottom: 0.2rem;
    height: 1.2rem;
    text-align: left;
}

.product-desc {
    font-size: small;
    color: #666;
    margin: 1rem 0px;
    min-height: 20px;
    height: 4rem;
    text-align: left;
}

.product-specs {
    font-size: small;
    color: #888;
    margin-bottom: 1rem;
    height: 2.5rem;
}

.product-rating {
    color: gold;
    margin-bottom: 0.5rem;
}

/* Specific card for LED display, needs different height logic */
.product-card.special-led {
    height: auto;
    margin-bottom: 1.5rem;
}

.btn-card {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px !important;
}

.btn-navy-fill {
    background-color: var(--primary-navy) !important;
    color: white !important;
}

.btn-orange-outline {
    background-color: transparent !important;
    color: var(--accent-orange) !important;
    border: 1px solid var(--accent-orange) !important;
}

.btn-orange-outline:hover {
    background-color: var(--accent-orange) !important;
    color: white !important;
}

/* --- FEATURED COMPONENTS STAGGERED LAYOUT --- */
.featured-section {
    padding: 30px 0;
    background-color: #fff;
}

.industry-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.industry-item {
    flex: 0 0 150px; /* Fixed width to keep them uniform */
    text-align: center;
    transition: all 0.3s ease;
}

/* The "Up-Down" Logic: Even items move down */
.industry-item:nth-child(even) {
    margin-top: 40px; /* Pushes the 2nd, 4th, 6th item down */
}

/* Icon Styling */
.industry-icon-circle {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--f-navy);
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.industry-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--f-navy);
    margin-bottom: 8px;
}

.industry-item p {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.3;
}

/* Responsive: Remove stagger on mobile so they don't look broken */
@media (max-width: 768px) {
    .industry-item:nth-child(even) {
        margin-top: 0;
    }
    .industry-container {
        gap: 30px 10px;
    }
    .industry-item {
        flex: 0 0 45%; /* 2 per row on mobile */
    }
}

/* --- Why Choose Section --- */
.why-choose-section {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 4rem 0;
    border-radius: 8px; /* Matches card aesthetic */
}

.why-header {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.reason-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.reason-icon {
    margin-right: 0.75rem;
    color: rgba(255,255,255,0.7);
}

/* Sub-panel in 'Why Choose' (white/orange area) */
.white-subpanel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.5rem;
    color: rgba(255,255,255,0.8);
}

.white-subpanel-title {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.subpanel-content-row {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* Industries We Serve sub-icons */
.serves-item {
    text-align: center;
    flex: 0 0 25%;
    padding: 0 5px;
}

.serves-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    /* filter: grayscale(1) brightness(2) contrast(0.5); Silhouetted white look */
    margin-bottom: 0.5rem;
}

.serves-item span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
}

/* --- India Section (Mid-Right on desktop) --- */
.india-section {
    padding-top: 2rem;
}

.india-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.india-text {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.india-image-container {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.india-image-container img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Learn More button from the design */
.btn-navy-learn-more {
    background-color: var(--primary-navy) !important;
    color: white !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
    padding: 0.6rem 2.5rem !important;
    font-size: 0.9rem !important;
}

/* --- Brands We Deal In Section --- */
.brands-section {
    background: white !important;
    padding: 3rem 0 !important;
    border-top: 1px solid var(--border-light) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.logo-scroll-container {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    overflow-x: auto !important; /* Basic responsiveness */
    padding: 1rem 0 !important;
}

.logo-item img {
    height: 100px;
    object-fit: contain;
    margin: 0 15px;
    /* opacity: 0.8; */
    transition: opacity 0.3s ease;
    border: 2px solid #dd1010bd;
    border-radius: 15px;
}

.logo-item img:hover {
    opacity: 1;
}

/* --- BOQ Upload & Get Quote Section (Dark Navy) --- */
.boq-quote-section {
    background-color: var(--primary-navy) !important;
    /* color: white !important; */
    padding: 1rem 0 !important;
    border-radius: 30px !important;
    margin-top: 0rem !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Abstract blue network lines background */
.boq-quote-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    background-image: url('../img/home-baanner-quote.png') !important;
    background-size: cover !important;
    background-position: center !important;
    /* opacity: 0.08 !important; Very subtle */
    z-index: 0 !important;
}

.boq-content {
    position: relative;
    z-index: 1;
}

.boq-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

.boq-text {
    color: rgb(255 255 255 / 95%);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

/* The stylized square buttons */
.btn-boq {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    padding: 1.2rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 280px !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
}

.btn-boq-orange {
    background-color: var(--accent-orange) !important;
    color: white !important;
    border: none !important;
    text-decoration: none;
}

.btn-boq-navy {
    background-color: rgba(255,255,255,0.1) !important;
    color: white !important;
    border: 2px solid rgb(255 255 255 / 50%) !important;
    text-decoration: none;
}

.btn-boq-navy:hover {
    background-color: white !important;
    color: var(--primary-navy) !important;
}

.btn-boq-icon {
    margin-right: 12px !important;
    font-size: 1.3rem !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.2rem; }
    .why-choose-section { margin-top: 2rem; }
    .boq-quote-section { border-radius: 0; }
}

@media (max-width: 767.98px) {
    .hero-section { padding: 4rem 0; text-align: center; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { margin: 0 auto 2rem auto; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 300px; margin-bottom: 0.5rem; }

    .industry-feature { padding: 1rem; }
    .india-image-container img { height: 180px; }
    .serves-item span { font-size: 0.65rem; }
    .boq-buttons-flex { flex-direction: column; align-items: center; gap: 0.5rem; }
}

/* Footer from design (placeholder/minimal representation of the content) */
.minimal-footer {
    background-color: #f0f4f7;
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}
.minimal-footer span { margin: 0 10px; cursor: pointer; }
.minimal-footer span:hover { color: var(--accent-orange); }


/* vission and mission Content */

/* Styling the Mission/Vision accent bars */
.border-success {
    border-color: #28a745 !important; /* Adjust to match your brand green */
}

.bg-danger {
    /* background: linear-gradient(145deg, #e63946, #c1121f) !important; */
    background: linear-gradient(145deg, #1a2d48, #1a2d48) !important;
}

/* Bootstrap Icons (if not already included) */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css");

/*
    Brands makes for home page listingß
*/
.brand-slider {
    position: relative;
    width: 100%;
    padding: 20px 0;
    background: #fff;
}

.brand-track {
    display: flex;
    width: calc(280px * 12); /* Width of 1 item * total items (original + duplicate) */
    animation: scroll 30s linear infinite;
}

.brand-item {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.brand-item img {
    /* max-width: 150px; */
    max-height: 100px;
    /* filter: grayscale(100%); Optional: makes logos grayscale */
    /* opacity: 0.6; */
    transition: all 0.3s ease;
    border: 2px solid #dd1010bd;
    border-radius: 15px;
    box-shadow: 1px 3px 12px 2px #888888;
}

.brand-item img:hover {
    filter: grayscale(0%); /* Color on hover */
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); } /* Half of the total width (the first set) */
}

/* Pause animation on hover */
.brand-slider:hover .brand-track {
    animation-play-state: paused;
}

.header-search {
    position: fixed;
    display: block;
    height: 20px;
    z-index: 999;
    top: 8rem;
    width: 100%;
}

/*
    Modal overlaping issue
*/

.modal-dialog {
    top: 9.5rem;
}

.nice-select ul.list
 {
    height: 14rem;
    width: 20rem;
    overflow-y: auto;
}
